@echo off
set pre_path=%cd%
call clean.bat
cd %pre_path%
call gen_scanner.bat
cd %pre_path%
call gen_parser.bat
cd %pre_path%

@echo off
cd src
javac -d ..\bin -classpath ..\javacup\java-cup-11b-runtime.jar;..\lib\jgraph.jar;..\lib\callgraph.jar;..\lib\flowchart.jar exceptions\*.java .\*.java
cd %pre_path%
echo 执行完毕
pause
@echo on